import {get,post} from "../utils/request.js"

//报修列表
const repairsList = params=>get('/api/user/repairs/list',params)
// 报修添加
const repairsAdd = params=>post('/api/user/repairs/add',params)
// 报修类型
const repairsType = params=>get('/api/user/repairstype/list',params)
// 报修状态
const repairState = params=>get('/api/user/repairstate/list',params)
// 报修删除
const repairsDel = params=>get('/api/user/repairs/delete',params)
// 获取单条报修详情
const getRepairs = params=>get('/api/user/repairs/get',params)

export{
	repairsList,
	repairsAdd,
	repairsType,
	repairState,
	repairsDel,
	getRepairs
}

export default{}

